When you set mesg to y, other users can use the write command to directly display information on your screen.SyntaxMesg [ny]Parameters: N you are not allowed to directly display the information on your screen. Y allows the gas cylinder user to display information directly on your screen.InstanceAllow other users to send messages to the current terminal.Root terminal# Mesg y // set in this terminal to
~/.BASHRC Test sqlplus Command: $ sqlplus Scott/[email protected] Sql*plus:release 10.2.0.4.0-productionon Friday August 3 10:41:44 2012 Copyright (c) 1982, Oracle. All rights Reserved. Oracle Database 10g Enterprise editionrelease 10.2.0.4.0-64bit Production With the partitioning, Real applicationclusters, OLAP, Data Mining and Real Application Testing options Sql>Configure TnspingGo back to the root user and get the necessary files on the other Oracle machines. # cd/opt/oracle/instantclient_
:
$ Mkdir-p network/mesg
$ Cd network/mesg/
Now copy the tnsus. msb file from the Oracle Installation service to this directory:
$ Scp root@192.168.8.192:/u01/product/oracle/11.2.0/db_1/network/mesg/tnsus. msb ./
Let's try tnsping again. The result is as follows:
$ Tnsping ora
TNS Ping Utility for Linux: Version11.2.0.4.0-Production on 20-NOV-2014 14:49:54
Co
corresponding number of products. The operation is done by the INSERT trigger on the order table.Create a new trigger on the order form, when the order of a product product quantity is greater than the product inventory, prohibit placing orders, that is, prohibit inserting records in the order table.There can be only one insert type trigger in a table, first delete the insert trigger.drop trigger trigger_order;MySQL cannot cancel operations in a trigger by rolling back a transaction, but if an
be connected)
Note: The TNS_ADMIN environment variable is used to specify the path of the tnsnames. ora file.
# Source ~ /. Bashrc
Test sqlplus command:
$ Sqlplus scott/tiger @ ora215
SQL * Plus: Release 10.2.0.4.0-Productionon Friday August 3 10:41:44 2012
Copyright (c) 1982,200 7, Oracle. All Rights Reserved.
Oracle Database 10g Enterprise EditionRelease 10.2.0.4.0-64bit Production
With the Partitioning, Real applicationters ters, OLAP, Data Mining
And Real Application Testing options
SQL>Co
the Sqlplus command:$ sqlplus Scott/[email protected]Sql*plus:release 10.2.0.4.0-productionon Friday August 3 10:41:44 2012Copyright (c) 1982, Oracle. All rights Reserved.Oracle Database 10g Enterprise editionrelease 10.2.0.4.0-64bit ProductionWith the partitioning, Real applicationclusters, OLAP, Data Miningand Real Application Testing optionsSql>Configure TnspingGo back to the root user and get the necessary files on other Oracle machines.# cd/opt/oracle/instantclient_11_2/# SCP [Email protec
, which is an event that happens every time an interpreter executes n low-level statements in a declare code snippet. The value of n is specified by ticks=n in the directive portion of the declare.
function GetStatus ($arg) {
print_r (Connection_status ());
Debug_print_backtrace ();
}
Reigster_tick_function ("GetStatus", true);
Declare (Ticks=1) {for
($i =1; $i
This is basically equivalent to:
function GetStatus ($arg) {
print_r (Connection_status ());
Debug_print
project name (which must be a character) into a shaped key used by the System V IPC
2. Ticks
Ticks is added to PHP from PHP 4.0.3, which is an event that occurs every time an interpreter executes n low-level statements in a declare code snippet. The value of n is specified in the directive section of declare with Ticks=n.
function GetStatus ($arg) { print_r (Connection_status ()); Debug_print_backtrace ();} Reigster_tick_function ("GetStatus", True);d Eclare (Ticks=1) {for ($i =1; $i
This
input to the write rootNote that using the Write command should first use MESG (MESG y allows WRITE,MESG N does not allow write) to see if it is displayed, such as:If it is no, you should first use MESG Y, such as:2. Wall commandWall--Send a message to everybody ' s terminal (broadcast a message to all logged-in termi
/MESG from server because of missing MESG file[Email protected] instantclient_12_2]$ mkdir-p rdbms/mesg[[email protected] instantclient_12_2]$ cp/u01/app/oracle/ product/12.2/db_home1/rdbms/mesg/* rdbms/mesg/Execute SQLLDR successfully again7, install Oerr, the simple client
max day 90# Echo "set password expired 90 day"# Sed-I '/PASS_MAX_DAYS/s/99999/90/G'/etc/login. defs#3 ,---------------------------------------------------------------------Echo "# Check for empty passwords"Echo "Check if there have user without password! "Echo "#-------------------------------------"Awk-F: '($2 = "") {print $1}'/etc/shadow#4 ,-----------------------------------------------# Section2 Restrict root users to telnet or rlogin directly. ssh is invalid.###### We recommend that you co
write and return to shell.
Use talk
The talk command is a virtual communication command that allows the login parties to talk in real time through the keyboard. Its format is as follows:
Talk user-name [terminal]
Note: The machine architecture used by both parties must be the same when talking to each other using talk. After the other party gives the response talk command, both terminals will display
[Connect established]
Both parties can communicate in duplex mode. Both parties can input at a
Thinkphp/SAE/database operation/D method problems a mesg table exists in the local database, and a maid field is added to the table. Use nbsp; $ mesg = D ('mesg'); nbsp; dump ($ thinkphp/SAE/database operation/D method issues in an operation
The local database originally had a mesg table, and a maid field was added t
ThinkphpSAE database operation D method problems the local database originally had a mesg table, and then added a field maid after the table. Use nbsp; $ mesgD (Mesg); nbsp; dump ($ mesg) in an operation. The model contains protected $ _ maparray (user gt; muser thinkphp/SAE/database operation/D method problems
The local database originally had a
.
(3) Use wall for broadcast message transmission
The wall command can be used to broadcast notification information to all users, and all users logging on to the system can receive the message. The wall command has the following formats:
Wall
Wall filename
Wall "send a message to all the people !"
(4) use mesg to allow or reject messages
When a user is fully engaged in a job, he or she may not want to be interrupted by the message sent b
settings are generally used:Stty-istrip cs8Iuclc (-iuclc)The standard input uppercase letters are treated as lowercase (or canceled ).
Olcuc (-olcuc)Output (or cancel) uppercase or lowercase letters ).
Echo (-echo)Output all inputs from the standard output (or cancel the output, that is, the input cannot be seen on the screen ).
In addition to these parameters, stty can also be used to define specific functions of a key, such:Stty erase"^ H"Stty kill"^ U"
2.
pointers, string arrays,2. Consider a string as a pointer:Instance Program:
123456
#includeintmain(){printf("%s,%p,%c\n","we","are",*"sparefarers");return0;}
The%s format output string "We", the%p format produces a hexadecimal address, so if "is" is an address, then%p should output the address of the first character in the string. At last
1
*"sparefarers"应该产生所指向的地址中的值,即字符串*"sparefarers"的第一个字符。
3, strlen () to get the length of the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.